package edu.nbut.hotel.model.entity.javafxbean;

import edu.nbut.hotel.model.enums.Gender;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.StringProperty;

public class Guest {
    private IntegerProperty id;
    private StringProperty name;
    private StringProperty gender;
    private StringProperty idCard;
    private StringProperty contact;
    public Guest(){}

    public int getId() {
        return id.get();
    }

    public IntegerProperty idProperty() {
        return id;
    }

    public void setId(int id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getGender() {
        return gender.get();
    }

    public StringProperty genderProperty() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender.set(gender);
    }

    public String getIdCard() {
        return idCard.get();
    }

    public StringProperty idCardProperty() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard.set(idCard);
    }

    public String getContact() {
        return contact.get();
    }

    public StringProperty contactProperty() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact.set(contact);
    }
}
